#pragma once

#include <cstdint>
#include <cfloat>

#define SIGNED_ALIAS(bit) using i##bit = int##bit##_t
#define UNSIGNED_ALIAS(bit) using u##bit = uint##bit##_t

SIGNED_ALIAS(8);
SIGNED_ALIAS(16);
SIGNED_ALIAS(32);
SIGNED_ALIAS(64);

UNSIGNED_ALIAS(8);
UNSIGNED_ALIAS(16);
UNSIGNED_ALIAS(32);
UNSIGNED_ALIAS(64);

using f32 = float;
using f64 = double;

using b8 = bool;

#undef SIGNED_ALIAS
#undef UNSIGNED_ALIAS
